package com.lqd.demo.springboot.config.bean;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class IndexListener implements ServletContextListener{

	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		System.out.println("-----------IndexListener bean contextDestroyed----------");
	}

	@Override
	public void contextInitialized(ServletContextEvent arg0) {
		System.out.println("------------IndexListener bean contextInitialized--------");
	}

}
